Containment for Rule-Based Ontology-Mediated Queries
نویسندگان
چکیده
Many efforts have been dedicated to identify restrictions on ontologies expressed as tuple-generating dependencies (tgds), a.k.a. existential rules, that lead to the decidability for the problem of answering ontology-mediated queries (OMQs). This has given rise to three families of formalisms: guarded, non-recursive, and sticky sets of tgds. In this work, we study the containment problem for OMQs expressed in such formalisms, which is a key ingredient for solving static analysis tasks associated with them. Our main contribution is the development of specially tailored techniques for OMQ containment under the classes of tgds stated above. This enables us to obtain sharp complexity bounds for the problems at hand. We start with OMQs based on linear (a core fragment of guarded tgds), non-recursive and sticky sets of tgds, which share the property of UCQ rewritability. By exploiting this property, we obtain a small witness property for non-containment that allows us to devise standard “guessand-check” algorithms. Based on this, we prove that OMQ containment for linear tgds is PSpace-complete, but Π2 complete if the arity of the schema is fixed, while for sticky sets of tgds it is coNExpTime-complete, and Π2 -complete in the case of fixed arity. For non-recursive sets of tgds, the problem is in ExpSpace and P-hard even for fixed-arity schemas. Hence, in all the cases the containment problem is harder (under widely accepted complexity assumptions) than query evaluation, with the exception of linear tgds over schemas of unbounded arity, where both problems are complete for PSpace. For OMQs based on guarded tgds, which are not UCQ rewritable in general, we establish a tree witness property, and use it in combination with tree automata techniques to prove that OMQ containment has the same complexity as query evaluation, i.e., 2ExpTimecomplete. Unlike query evaluation, though, OMQ containment for guarded tgds remains 2ExpTime-hard over fixedarity schemas. Lastly, we apply our techniques to pinpoint the complexity of problems associated with two emerging applications of OMQ containment: distribution over components and UCQ rewritability of OMQs.
منابع مشابه
Containment in Monadic Disjunctive Datalog, MMSNP, and Expressive Description Logics
We study query containment in three closely related formalisms: monadic disjunctive Datalog (MDDLog), MMSNP (a logical generalization of constraint satisfaction problems), and ontology-mediated queries (OMQs) based on expressive description logics and unions of conjunctive queries. Containment in MMSNP was known to be decidable due to a result by Feder and Vardi, but its exact complexity has re...
متن کاملOntology-Mediated Querying with the Description Logic EL: Trichotomy and Linear Datalog Rewritability
We consider ontology-mediated queries (OMQs) based on an EL ontology and an atomic query (AQ), provide an ultimately fine-grained analysis of data complexity and study rewritability into linear Datalog– aiming to capture linear recursion in SQL. Our main results are that every such OMQ is in AC0, NL-complete or PTIME-complete, and that containment in NL coincides with rewritability into linear ...
متن کاملOntology-Mediated Querying with EL: Trichotomy and Linear Datalog Rewritability
We consider ontology-mediated queries (OMQs) based on an EL ontology and an atomic query (AQ), provide an ultimately finegrained analysis of data complexity and study rewritability into linear Datalog – aiming to capture linear recursion in SQL. Our main results are that every such OMQ is in AC0, NL-complete or PTime-complete, and that containment in NL coincides with rewritability into linear ...
متن کاملDeveloping a BIM-based Spatial Ontology for Semantic Querying of 3D Property Information
With the growing dominance of complex and multi-level urban structures, current cadastral systems, which are often developed based on 2D representations, are not capable of providing unambiguous spatial information about urban properties. Therefore, the concept of 3D cadastre is proposed to support 3D digital representation of land and properties and facilitate the communication of legal owners...
متن کاملAn Executive Approach Based On the Production of Fuzzy Ontology Using the Semantic Web Rule Language Method (SWRL)
Today, the need to deal with ambiguous information in semantic web languages is increasing. Ontology is an important part of the W3C standards for the semantic web, used to define a conceptual standard vocabulary for the exchange of data between systems, the provision of reusable databases, and the facilitation of collaboration across multiple systems. However, classical ontology is not enough ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1703.07994 شماره
صفحات -
تاریخ انتشار 2017